/*Man H. Vu
 *CS 362 SE II
 *Testing getCost()
 */

#include "dominion.h"
#include "dominion_helpers.h"
#include "rngs.h"
#include <stdio.h>


int main(){
	int no[27] = {curse,estate,duchy,province,copper,silver,gold,adventurer,council_room,feast,gardens,
						mine,remodel,smithy,village,baron,great_hall,minion,steward,tribute,ambassador,
						cutpurse,embargo,outpost,salvager,sea_hag,treasure_map};
	int cost[27] = {0,2,5,8,0,3,6,6,5,4,4,5,4,4,3,4,3,5,3,5,3,4,2,5,4,4,4};
	int i;
	for (i=0; i<27;i++){
		if (getCost(no[i]) == cost[i]){
			printf("Card Number: %d with cost: %d PASS \n", no[i], getCost(no[i]));
		}else{
			printf("Card Number: %d Wrong Cost FAIL \n", no[i]);
		}
	}
	return 0;
}
